package com.tuanzi.loan.business.service.system;

import java.util.List;

import org.springframework.data.domain.Page;

import com.tuanzi.loan.business.entity.system.Announcement;
import com.tuanzi.loan.core.service.BaseAuditService;
import com.tuanzi.loan.core.vo.PageSearcher;
import com.tuanzi.loan.vo.request.system.AnnouncementSearchRequest;
import com.tuanzi.loan.vo.response.system.AnnouncementSearchResponse;

/**
 * @author Ray 2017/09/21
 */
public interface AnnouncementService extends BaseAuditService<Announcement, String> {

	Page<AnnouncementSearchResponse> list(PageSearcher<AnnouncementSearchRequest> pageSearcher);

	List<Announcement> findCurrentAnnouncement();

	List<Announcement> findAllNeedToSendAnnouncements();
}
